const app = require('../express');
const Class = require('../dao/classDao.js');
app.get('/test',(req, res) => {
    Class.search(function(result){
        res.writeHead(200);
        res.end(JSON.stringify(result));
    })
})